/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.aacorps;

import java.util.Random;

/**
 *
 * @author anti
 */
public class ColaPrizes {
    
    private static String[] prizes = {"You won a Brazuca, the Official Ball of the 2014 World Cup!", "You won a trip to Brazil, and tickets for the World Cup Final!", "You won a World Cup themed Lamborghini Aventador!"}; 
    private static Random rand = new Random();
    
    public static String getPrize() {
        int num = rand.nextInt()%10;
        if (num>7) {
            return prizes[2];
        } else if (num>4) {
            return prizes[1];
        } else {
            return prizes[0];
        }
        
    }
    
}
